import fetch from '@/utils/fetch'

export function getIndex(query) {
  return fetch({
    url: '/alarmscreen/index',
    method: 'get',
    params: query
  })
}

export function getCurrentDate(query) {
  return fetch({
    url: '/alarmscreen/getCurrentDate',
    method: 'get',
    params: query
  })
}

export function catbody(query) {
  return fetch({
    url: '/alarmscreen/catbody',
    method: 'get',
    params: query
  })
}

export function daybody(query) {
  return fetch({
    url: '/alarmscreen/daybody',
    method: 'get',
    params: query
  })
}
